PhpMyAdmin\Relation D

Total Complexity 302
Dependencies 11
Dependents 47
Total lines 2,260
Lines of code 1,581
Logical lines of code 621
Comment lines 442
Methods 35
Properties 2

Methods 35

Method Rating Maintainability Complexity Lines of code
checkRelationsParam()
D
18
75 224
getRelationsParamDiagnostic()
C
23
10 285
getForeignData()
B
35 21 83
getForeigners()
B
39 20 59
buildForeignDropdown()
B
38 18 72
arePmadbTablesDefined()
B
52 19 21
foreignDropdown()
A
43 13 52
fixPmaTables()
A
39 11 65
renameTable()
A
37 8 102
checkChildForeignReferences()
A
45 11 44
getDisplayField()
A
47 9 37
setHistory()
A
46 7 40
searchColumnInForeigners()
S
52 7 26
tryUpgradeTransformations()
S
45 5 46
purgeHistory()
S
50 5 31
getDbComments()
S
53 5 24
getTables()
S
56 5 17
getComments()
S
58 5 16
renameField()
S
46 3 46
getHistory()
S
52 4 27
getDbComment()
S
52 4 25
getHtmlFixPmaTables()
S
50 3 32
getDiagMessageForFeature()
S
59 4 15
setDbComment()
S
51 3 28
getChildReferences()
S
53 3 24
queryAsControlUser()
S
56 3 22
getDefaultPmaTableNames()
S
57 3 18
getRelationsAndStatus()
S
58 3 17
createPmaDatabase()
S
58 3 16
getRelationsParam()
S
63 4 10
createPage()
S
58 3 14
getDiagMessageForParameter()
S
59 2 15
renameSingleTable()
S
58 1 16
canAccessStorageTable()
S
67 1 8
__construct()
S
75 1 4